/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.dao;

import com.techshop.model.OrderDetail;
import java.util.List;

/**
 *
 * @author Hai-PC
 */
public interface OrderDetailDao
{
    public OrderDetail getById(int deliveryNoteDetailsId);
    public List<OrderDetail> getByDeliveryNoteId(int deliveryNoteId);
    public int getOrderQuantity(String storeId, String productId, String colorId);
    public List<OrderDetail> findAll();
    public boolean insert(OrderDetail deliveryNoteDetails);
    public boolean update(OrderDetail deliveryNoteDetails);
    public boolean updateAll(List<OrderDetail> deliveryNoteDetailsList);
    public boolean delete(OrderDetail deliveryNoteDetails);
}